package com.zy.experience_system.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;


@Data
public class CreateAccountForm {
    @NotEmpty(message = "账号不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;
    private String name;
    @NotEmpty(message = "角色不能为空")
    private String role;
    @NotEmpty(message = "权限不能为空")
    private String perms;
}
